<extend name="Public:common"/>
<block name="css">
    <style>
        .newMess th{text-align:center;}
        th{text-align: center;}
    </style>
</block>
<block name="content">
    <div class="page-header"><h1><i class="fa fa-home"></i> 首页>城市管理>
        <switch name="city['areaType']">
            <case value="0">修改省</case>
            <case value="1">修改市</case>
            <case value="2">修改区</case>
            <case value="4">修改国家</case>
        </switch>
    </h1></div>
     <div class="container-fluid">
                 <form action="{:U('editCity')}" method="post">
                     <input type="hidden" name="areaId" value="{:I('areaId')}">
                         <table class="table table-striped table-bordered table-hover table-condensed text-center">
                             <tbody>
                                 <tr>
                                     <td><b><span>*</span> <switch name="city['areaType']">
                                         <case value="0">省</case>
                                         <case value="1">市</case>
                                         <case value="2">区</case>
                                         <case value="4">国家</case>
                                     </switch>名称:</b></td>
                                     <td ><input type="text" name="areaName" value="{$city.areaName}" required=""></td>
                                 </tr>

                                 <tr>
                                     <td><b><span>*</span>排序:</b></td>
                                     <td><input type="text" name="areaSort" value="{$city.areaSort}" required=""></td>
                                 </tr>
                                  <tr>
                                      <td  colspan="2">
                                          <a class="btn btn-info" href="javascript:history.go(-1)">返回</a>
                                          <input type="submit" class="btn btn-primary" value="保存">
                                      </td>
                                  </tr>
                             </tbody>
                         </table>
                 </form>
             </div>
         </div>
     </div>
</block>
<block name="js">
    <script>


    </script>
</block>